Skip to content

doc: add how to set up instructions#2585

Merged
alerizzo merged 6 commits intomasterfrom
doc-ai-instructions
Feb 19, 2026
Merged

doc: add how to set up instructions#2585
alerizzo merged 6 commits intomasterfrom
doc-ai-instructions

Conversation

@alerizzo
Copy link
Contributor

@alerizzo alerizzo commented Feb 18, 2026

https://codacy.atlassian.net/browse/CF-2220

👀 Live preview

https://doc-ai-instructions--docs-codacy.netlify.app/codacy-ai/codacy-ai/
image

https://doc-ai-instructions--docs-codacy.netlify.app/repositories-configure/integrations/github-integration/
image

🚧 To do

  • If relevant, include the Jira issue key at the end of the pull request title
  • Perform a self-review of the changes
  • Fix any issues reported by the CI/CD

Copilot AI review requested due to automatic review settings February 18, 2026 15:08
@alerizzo alerizzo requested a review from a team as a code owner February 18, 2026 15:08
@codacy-production
Copy link
Contributor

codacy-production bot commented Feb 18, 2026

Codacy's Analysis Summary

0 new issue (≤ 0 minor issue)
0 new security issue

Review Pull Request in Codacy →

AI Reviewer available: add the codacy-review label to get contextual insights without leaving GitHub.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

Overall readability score: 54.13 (🟢 +0.01)

File Readability
github-integration.md 52.61 (🟢 +0.95)
codacy-ai.md 56.2 (🟢 +0.39)
View detailed metrics

🟢 - Shows an increase in readability
🔴 - Shows a decrease in readability

File Readability FRE GF ARI CLI DCRS
github-integration.md 52.61 36.18 11.28 12.7 12.35 7.73
  🟢 +0.95 🟢 +0.1 🟢 +0.09 🟢 +0.1 🟢 +0.36 🟢 +0.04
codacy-ai.md 56.2 37.4 10.76 12 12.24 7.32
  🟢 +0.39 🟢 +0 🟢 +0.05 🟢 +0.1 🟢 +0 🟢 +0.05

Averages:

  Readability FRE GF ARI CLI DCRS
Average 54.13 43.02 10.95 12.33 12.22 8.01
  🟢 +0.01 🟢 +0 🟢 +0 🟢 +0 🟢 +0 🟢 +0
View metric targets
Metric Range Ideal score
Flesch Reading Ease 100 (very easy read) to 0 (extremely difficult read) 60
Gunning Fog 6 (very easy read) to 17 (extremely difficult read) 8 or less
Auto. Read. Index 6 (very easy read) to 14 (extremely difficult read) 8 or less
Coleman Liau Index 6 (very easy read) to 17 (extremely difficult read) 8 or less
Dale-Chall Readability 4.9 (very easy read) to 9.9 (extremely difficult read) 6.9 or less

@github-actions github-actions bot temporarily deployed to Netlify February 18, 2026 15:12 Inactive

This comment was marked as resolved.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 19, 2026 10:43
@github-actions github-actions bot temporarily deployed to Netlify February 19, 2026 10:45 Inactive

This comment was marked as resolved.

codacy-production[bot]

This comment was marked as outdated.

Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 19, 2026 10:52
@github-actions github-actions bot temporarily deployed to Netlify February 19, 2026 10:53 Inactive
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

codacy-production[bot]

This comment was marked as outdated.

@alerizzo alerizzo requested a review from a team February 19, 2026 11:02
@alerizzo alerizzo enabled auto-merge (squash) February 19, 2026 11:04
@github-actions github-actions bot temporarily deployed to Netlify February 19, 2026 15:49 Inactive
codacy-production[bot]

This comment was marked as outdated.

Copy link
Contributor

@manufacturist manufacturist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

On this page, while you're at it, can you drop the . after each ->? It looks unnatural. It appears in a couple of places.

Same for the gh integration page where you added the info tooltip.

Copilot AI review requested due to automatic review settings February 19, 2026 16:32
@alerizzo
Copy link
Contributor Author

Image On this page, while you're at it, can you drop the `.` after each `->`? It looks unnatural. It appears in a couple of places.

Same for the gh integration page where you added the info tooltip.

Agree, but I removed the arrows instead, since it was only used in these pages but not anywhere else in the docs.

@github-actions github-actions bot temporarily deployed to Netlify February 19, 2026 16:34 Inactive
@alerizzo alerizzo merged commit 603daf9 into master Feb 19, 2026
9 checks passed
@alerizzo alerizzo deleted the doc-ai-instructions branch February 19, 2026 16:34
Copy link
Contributor

@codacy-production codacy-production bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The documentation changes are up to standards. They provide clear, actionable instructions for the new Custom Instructions feature, including a useful starter prompt for users. No major technical inaccuracies or broken links were found, though some minor copy-editing is suggested for better readability.

Test plan proposal

  • Verify that the codacy-review label successfully triggers the review process in a live repository.
  • Validate that all relative links (../../codacy-ai/codacy-ai.md#custom-instructions and ../repositories-configure/...) resolve correctly when rendered in the documentation site.
  • Confirm that the path .codacy/instructions/review.md is the correct location expected by the AI Reviewer backend for custom instructions.

About this PR

  • Consider making the PR title more specific to the feature being documented.

💡 Codacy uses AI. Check for mistakes.


These instructions are specified in a `review.md` file in the `.codacy/instructions` directory of your repository.

You can kickstart this instructions file by asking your AI coding agent of choice to summarize the project and the codebase. Here is an example prompt:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: Minor grammatical improvement.

Suggested change
You can kickstart this instructions file by asking your AI coding agent of choice to summarize the project and the codebase. Here is an example prompt:
You can kickstart this file by asking your AI coding agent of choice to summarize the project and the codebase. Here is an example prompt:


#### Custom Instructions

To improve the results of the AI Reviewer, you can provide custom instructions to the AI Reviewer. These instructions are specific to a repository and help the AI Reviewer understand the structure of the code, the business logic of the project, and your own preferences.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: This sentence is repetitive. This might be a simple fix:

Suggested change
To improve the results of the AI Reviewer, you can provide custom instructions to the AI Reviewer. These instructions are specific to a repository and help the AI Reviewer understand the structure of the code, the business logic of the project, and your own preferences.
To improve the AI Reviewer's results, you can provide custom instructions.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


#### Custom Instructions

To improve the results of the AI Reviewer, you can provide custom instructions to the AI Reviewer. These instructions are specific to a repository and help the AI Reviewer understand the structure of the code, the business logic of the project, and your own preferences.
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase "to the AI Reviewer" is redundant in this sentence. Consider rephrasing to: "To improve the results of the AI Reviewer, you can provide custom instructions. These instructions are specific to..."

Suggested change
To improve the results of the AI Reviewer, you can provide custom instructions to the AI Reviewer. These instructions are specific to a repository and help the AI Reviewer understand the structure of the code, the business logic of the project, and your own preferences.
To improve the results of the AI Reviewer, you can provide custom instructions. These instructions are specific to a repository and help the AI Reviewer understand the structure of the code, the business logic of the project, and your own preferences.

Copilot uses AI. Check for mistakes.
- If something is not applicable or not inferable, omit the section entirely.
```


Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra blank line. For consistency with the rest of the document (see lines 26-27 and 55-56), there should be only one blank line between the code block and the Notes section.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments